package com.misena.praxispraktik.controller;

import com.misena.praxispraktik.entity.Grupos;
import com.misena.praxispraktik.facade.GruposFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ManagedBean(name = "gruposController")
@ViewScoped
public class GruposController extends AbstractController<Grupos> implements Serializable {

    @EJB
    private GruposFacade ejbFacade;

    public GruposController() {
        super(Grupos.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
